package com.atguigu.yuntai.govern.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 表元数据
 * </p>
 *
 * @author zhangchen
 * @since 2022-03-29
 */
public class TableInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 表id
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 库名
     */
    private String schemaName;

    /**
     * 字段名json
     */
    private String colNameJson;

    /**
     * 上游表名json
     */
    private String sourceTableJson;

    /**
     * hdfs所属人
     */
    private String tableFsOwner;

    /**
     * 参数信息
     */
    private String tableParameters;

    /**
     * hdfs路径
     */
    private String tableFsPath;

    /**
     * 输入格式
     */
    private String tableInputFormat;

    /**
     * 输出格式
     */
    private String tableOutputFormat;

    /**
     * 行格式
     */
    private String tableRowFormatSerde;

    /**
     * 表创建时间
     */
    private String tableCreateTime;

    /**
     * 表类型
     */
    private String tableType;

    /**
     * 分桶列
     */
    private String tableBucketCols;

    /**
     * 分桶个数
     */
    private String tableBucketNum;

    /**
     * 排序列
     */
    private String tableSortCols;

    /**
     * 数据量大小
     */
    private Long tableSize;

    /**
     * 最后修改时间
     */
    private String tableLastModifyTime;

    /**
     * 最后修改路径
     */
    private String tableLastModifyPath;

    /**
     * 最后修改路径大小
     */
    private Long tableLastModifySize;

    /**
     * 当前文件系统容量
     */
    private Long fsCapcitySize;

    /**
     * 当前文件系统使用量
     */
    private Long fsUsedSize;

    /**
     * 当前文件系统剩余量
     */
    private Long fsRemainSize;

    /**
     * 技术负责人
     */
    private Long chargeTecUserId;

    /**
     * 业务负责人
     */
    private Long chargeBusiUserId;

    /**
     * 业务负责人
     */
    private Long chargeDeptId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSchemaName() {
        return schemaName;
    }

    public void setSchemaName(String schemaName) {
        this.schemaName = schemaName;
    }

    public String getColNameJson() {
        return colNameJson;
    }

    public void setColNameJson(String colNameJson) {
        this.colNameJson = colNameJson;
    }

    public String getSourceTableJson() {
        return sourceTableJson;
    }

    public void setSourceTableJson(String sourceTableJson) {
        this.sourceTableJson = sourceTableJson;
    }

    public String getTableFsOwner() {
        return tableFsOwner;
    }

    public void setTableFsOwner(String tableFsOwner) {
        this.tableFsOwner = tableFsOwner;
    }

    public String getTableParameters() {
        return tableParameters;
    }

    public void setTableParameters(String tableParameters) {
        this.tableParameters = tableParameters;
    }

    public String getTableFsPath() {
        return tableFsPath;
    }

    public void setTableFsPath(String tableFsPath) {
        this.tableFsPath = tableFsPath;
    }

    public String getTableInputFormat() {
        return tableInputFormat;
    }

    public void setTableInputFormat(String tableInputFormat) {
        this.tableInputFormat = tableInputFormat;
    }

    public String getTableOutputFormat() {
        return tableOutputFormat;
    }

    public void setTableOutputFormat(String tableOutputFormat) {
        this.tableOutputFormat = tableOutputFormat;
    }

    public String getTableRowFormatSerde() {
        return tableRowFormatSerde;
    }

    public void setTableRowFormatSerde(String tableRowFormatSerde) {
        this.tableRowFormatSerde = tableRowFormatSerde;
    }

    public String getTableCreateTime() {
        return tableCreateTime;
    }

    public void setTableCreateTime(String tableCreateTime) {
        this.tableCreateTime = tableCreateTime;
    }

    public String getTableType() {
        return tableType;
    }

    public void setTableType(String tableType) {
        this.tableType = tableType;
    }

    public String getTableBucketCols() {
        return tableBucketCols;
    }

    public void setTableBucketCols(String tableBucketCols) {
        this.tableBucketCols = tableBucketCols;
    }

    public String getTableBucketNum() {
        return tableBucketNum;
    }

    public void setTableBucketNum(String tableBucketNum) {
        this.tableBucketNum = tableBucketNum;
    }

    public String getTableSortCols() {
        return tableSortCols;
    }

    public void setTableSortCols(String tableSortCols) {
        this.tableSortCols = tableSortCols;
    }

    public Long getTableSize() {
        return tableSize;
    }

    public void setTableSize(Long tableSize) {
        this.tableSize = tableSize;
    }

    public String getTableLastModifyTime() {
        return tableLastModifyTime;
    }

    public void setTableLastModifyTime(String tableLastModifyTime) {
        this.tableLastModifyTime = tableLastModifyTime;
    }

    public String getTableLastModifyPath() {
        return tableLastModifyPath;
    }

    public void setTableLastModifyPath(String tableLastModifyPath) {
        this.tableLastModifyPath = tableLastModifyPath;
    }

    public Long getTableLastModifySize() {
        return tableLastModifySize;
    }

    public void setTableLastModifySize(Long tableLastModifySize) {
        this.tableLastModifySize = tableLastModifySize;
    }

    public Long getFsCapcitySize() {
        return fsCapcitySize;
    }

    public void setFsCapcitySize(Long fsCapcitySize) {
        this.fsCapcitySize = fsCapcitySize;
    }

    public Long getFsUsedSize() {
        return fsUsedSize;
    }

    public void setFsUsedSize(Long fsUsedSize) {
        this.fsUsedSize = fsUsedSize;
    }

    public Long getFsRemainSize() {
        return fsRemainSize;
    }

    public void setFsRemainSize(Long fsRemainSize) {
        this.fsRemainSize = fsRemainSize;
    }

    public Long getChargeTecUserId() {
        return chargeTecUserId;
    }

    public void setChargeTecUserId(Long chargeTecUserId) {
        this.chargeTecUserId = chargeTecUserId;
    }

    public Long getChargeBusiUserId() {
        return chargeBusiUserId;
    }

    public void setChargeBusiUserId(Long chargeBusiUserId) {
        this.chargeBusiUserId = chargeBusiUserId;
    }

    public Long getChargeDeptId() {
        return chargeDeptId;
    }

    public void setChargeDeptId(Long chargeDeptId) {
        this.chargeDeptId = chargeDeptId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TableInfo{" +
        "id=" + id +
        ", tableName=" + tableName +
        ", schemaName=" + schemaName +
        ", colNameJson=" + colNameJson +
        ", sourceTableJson=" + sourceTableJson +
        ", tableFsOwner=" + tableFsOwner +
        ", tableParameters=" + tableParameters +
        ", tableFsPath=" + tableFsPath +
        ", tableInputFormat=" + tableInputFormat +
        ", tableOutputFormat=" + tableOutputFormat +
        ", tableRowFormatSerde=" + tableRowFormatSerde +
        ", tableCreateTime=" + tableCreateTime +
        ", tableType=" + tableType +
        ", tableBucketCols=" + tableBucketCols +
        ", tableBucketNum=" + tableBucketNum +
        ", tableSortCols=" + tableSortCols +
        ", tableSize=" + tableSize +
        ", tableLastModifyTime=" + tableLastModifyTime +
        ", tableLastModifyPath=" + tableLastModifyPath +
        ", tableLastModifySize=" + tableLastModifySize +
        ", fsCapcitySize=" + fsCapcitySize +
        ", fsUsedSize=" + fsUsedSize +
        ", fsRemainSize=" + fsRemainSize +
        ", chargeTecUserId=" + chargeTecUserId +
        ", chargeBusiUserId=" + chargeBusiUserId +
        ", chargeDeptId=" + chargeDeptId +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
